const user = {
	state:{
		userInfo: '张三'
	},
	getters:{
		GET_USERINFO(state){
			return state.userInfo
		}
	},
	mutations:{
		SET_USERINFO(state,data){
			state.userInfo = data
		}
	},
	actions:{
		DIS_SET_USERINFO({commit,state},data){
			commit('SET_USERINFO',data)
		}
	}
}

export default user